Skip to content

Conversation

@jscheffl
Copy link
Contributor

@jscheffl jscheffl commented Nov 1, 2025

As I was attempting to clean code toward ruff rule PLW0603 (https://docs.astral.sh/ruff/rules/global-statement/) I noticed that some code is a bit... outdated to be refactored. Making some smaller PRs for the cleanup of PLW0603 assuming easier to review

This PR attempts to remove the global keyword from serialized objects module. It was mainly used as a cache, so replaced it with functools.cache

@jscheffl jscheffl force-pushed the bugfix/remove-global-from-serialization branch 2 times, most recently from 5d892f5 to b6ac5a5 Compare November 6, 2025 21:17
@jscheffl jscheffl force-pushed the bugfix/remove-global-from-serialization branch from b6ac5a5 to 6ae21b1 Compare November 6, 2025 22:20
@jscheffl jscheffl merged commit 3ba3c78 into apache:main Nov 7, 2025
63 checks passed
potiuk added a commit to potiuk/airflow that referenced this pull request Nov 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants